<?php 
    if(!preg_match('/^[a-zA-Z]([\w ]{0,14})$/', $shop_name)) {
        die("Invalid Shop Name");
    }
    if(!preg_match('/^(Home|Shoes|Electronics|Clothing)$/', $shop_category)) {
        die("Invalid Shop Category");
    }
    if(!preg_match('/^[\w ]{1,100}$/', $shop_desc)) {
        die("Invalid Shop Description");
    }
    if(!preg_match('/^[\w ]{1,100}$/', $delivery_methods)) {
        die("Invalid Delivery Methods");
    }
    if(!preg_match('/^\w{1,15}$/', $shop_owner)) {
        die("Invalid Shop Owner");
    }
?>
